package mn.more.wits.client.dto;

import java.util.Date;

/**
 * @author $Author: mikeliucc $
 * @version $Id: UserDTO.java 5 2008-09-01 12:08:42Z mikeliucc $
 */
public class UserDTO extends DataTransferObject {

	protected void beforeSerialize() {

	}

	protected void afterDeserialize() {

	}

	public String getDisplayName() { return getData("displayName"); }

	public void setDisplayName(String displayName) {
		setData("displayName", displayName);
	}

	public Date getLoginDate() { return getDateData("loginDate"); }

	public void setLoginDate(Date loginDate) {
		setData("loginDate", loginDate);
	}

	public String getMainRole() { return getData("mainRole"); }

	public void setMainRole(String mainRole) { setData("mainRole", mainRole); }

	public String getUserName() { return getData("userName"); }

	public void setUserName(String userName) { setData("userName", userName); }

	public String toString() {
		return "UserDTO{displayName=" + getDisplayName() +
		       ",loginDate=" + getLoginDate() +
		       ",mainRole=" + getMainRole() +
		       ",userName=" + getUserName() + "}";
	}
}
